import requests from "@/api/requests";
import mockRequests from "@/api/mockRequests";

export const getNav = () => requests({url: '/product/getBaseCategoryList', method: 'get'});
export const getSearch = (param) => requests({
    url: '/list',
    method: 'post',
    data: param
});
export const getBanner = () => mockRequests({url: '/banner', method: 'get'});
export const getFloor = () => mockRequests({url: '/floor', method: 'get'});